#include<stdlib.h>
#include<iup.h>

int main(int argc, char **argv){
	Ihandle *dlg, *label;
	IupOpen(&argc, &argv);
	
	label = IupLabel("Hello from iup.");
	dlg = IupDialog(IupVbox(label, NULL));
	IupSetAttribute(dlg, "TTITLE", "2_dialog");
	
	IupShowXY(dlg, IUP_CENTER, IUP_CENTER);
	IupMainLoop();
	IupClose();
	
	
	return EXIT_SUCCESS;
}
